package demo3;

/**
 * @author Huangjin
 * @version 1.0
 * describe:班主任
 * @date 2023/2/23 18:35
 */
public class Teacher extends Employee {
    public Teacher(String name, int age, double salary) {
        super(name, age, salary);
    }
    /**完成工作*/
    @Override
    void getTheJobDone() {
        System.out.println(name+"完成了工作");
    }
}
